﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRongs.Wbt.Common.Auth
{
    /// <summary>
    /// The base profile and requester provider.
    /// </summary>
    public abstract class ProfileBase : IBasicUserData
    {

        /// <summary>
        /// The unique identifier for a user.
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// The display name for a user.
        /// </summary>
        public string ScreenName { get; set; }

        private IRequestable _request;
        /// <summary>
        /// Gets or sets the request thatn can be userd to send requests.
        /// </summary>
        /// <value>The request.</value>
        public IRequestable Request
        {
            get
            {
                return _request;
            }
            set
            {
                if (_request != value)
                {
                    _request = value;
                }
            }
        }

    }
}
